<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>AnjularJs双向数据绑定</title>
		<script type="text/javascript" src="../js/angular.min.js" ></script>
	</head>
	<!--ng-app是anjularJS编程入口,是模块作用域-->
	<body ng-app>
		<!--ng-model模型作用-->
		<input type="text" name="name" ng-model="name" />
		<div>
			<!--
            	{{}},等价于ng-bind,用于数据绑定
            -->
			hello,{{name}}
		</div>
	</body>
</html>
